#include "cpu/exec/helper.h"

//leave用于函数的返回,调整栈指针
make_helper(leave){
    current_sreg = R_SS;//提前设置好段寄存器SS
    cpu.esp = cpu.ebp;
    cpu.ebp = swaddr_read(cpu.esp,4);
    cpu.esp += 4;
    print_asm("leave");
    return 1;
}